home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-02 | 627 b | 17 lines | [TEXT/ToyS] |
- tell application "MacHTTP"
- activate
- set oldReport to Status Report
- Suspend Logging true
- Refuse Connections true
- Verbose Messages true
- Hide Window true
- set newReport to Status Report
- --the following shows how to play around with the contents
- -- of a status report message
- set AppleScript's text item delimiters to ","
- set bytesSent to word 2 of text item 12 of newReport
- set totalCon to word 2 of text item 1 of newReport
- return totalCon & " connections have requested " & bytesSent & " bytes of data." & return & return ¬
- & "Status BEFORE: " & oldReport & return & return & "Status AFTER: " & newReport
- end tell
-